package cn.gogpay.duoim.sdk.config;

public class IMContext {

    /**
     * API服务地址
     */
    private String apiServiceAddr;

    /**
     * API服务密钥
     */
    private String apiServiceSecret;

    public String getApiServiceAddr() {
        return apiServiceAddr;
    }

    public void setApiServiceAddr(String apiServiceAddr) {
        this.apiServiceAddr = apiServiceAddr;
    }

    public String getApiServiceSecret() {
        return apiServiceSecret;
    }

    public void setApiServiceSecret(String apiServiceSecret) {
        this.apiServiceSecret = apiServiceSecret;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"apiServiceAddr\":\"")
                .append(apiServiceAddr).append('\"');
        sb.append(",\"apiServiceSecret\":\"")
                .append(apiServiceSecret).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
